/* 拖拽状态通知组件样式 */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3000;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid #e8e8e8;
  min-width: 320px;
  max-width: 400px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification.visible {
  opacity: 1;
  transform: translateX(0);
}

.notification.hidden {
  opacity: 0;
  transform: translateX(100%);
}

.notification.success {
  border-left: 4px solid #28a745;
  background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
}

.notification.error {
  border-left: 4px solid #dc3545;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

/* 头部 */
.header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.icon {
  font-size: 20px;
  line-height: 1;
}

.title {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  flex: 1;
}

.closeButton {
  background: none;
  border: none;
  color: #6c757d;
  font-size: 20px;
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  transition: all 0.2s ease;
  line-height: 1;
}

.closeButton:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #495057;
}

/* 内容 */
.content {
  padding: 0 20px 16px;
}

.roomInfo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
}

.sourceInfo,
.targetInfo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.label {
  font-size: 11px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.roomNumber {
  font-size: 14px;
  font-weight: 700;
  color: #212529;
}

.date {
  font-size: 12px;
  color: #6c757d;
  font-family: 'Courier New', monospace;
}

.arrow {
  font-size: 16px;
  color: #28a745;
  font-weight: bold;
}

.statusInfo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 6px;
}

.statusIcon {
  font-size: 14px;
  line-height: 1;
}

.statusLabel {
  font-size: 13px;
  font-weight: 500;
  color: #495057;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .notification {
    top: 16px;
    right: 16px;
    left: 16px;
    min-width: auto;
    max-width: none;
  }

  .header {
    padding: 12px 16px 8px;
  }

  .content {
    padding: 0 16px 12px;
  }

  .roomInfo {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .arrow {
    transform: rotate(90deg);
    align-self: center;
  }
}
